package com.astar.mapper;

import com.astar.domain.UnifiedUserInfo;
import com.astar.domain.UnifiedUserInfoExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UnifiedUserInfoMapper extends BaseMapper<UnifiedUserInfo>{
    long countByExample(UnifiedUserInfoExample example);

    int deleteByExample(UnifiedUserInfoExample example);

//    int insert(UnifiedUserInfo record);

    int insertSelective(UnifiedUserInfo record);

    List<UnifiedUserInfo> selectByExample(UnifiedUserInfoExample example);

    int updateByExampleSelective(@Param("record") UnifiedUserInfo record, @Param("example") UnifiedUserInfoExample example);

    int updateByExample(@Param("record") UnifiedUserInfo record, @Param("example") UnifiedUserInfoExample example);

    List<UnifiedUserInfo> queryInfoByUnionId(@Param("unionId") String unionId) throws Exception;

}